import React from 'react';
import { useParams } from 'react-router-dom';

const OrderDetail: React.FC = () => {
  const { orderId } = useParams<{ orderId: string }>();

  return (
    <div className="bg-white rounded-lg shadow-sm border border-gray-200 p-6">
      <h3 className="text-lg font-medium text-gray-900 mb-4">工单详情</h3>
      <p className="text-gray-600">工单ID: {orderId}</p>
      <p className="text-gray-500 mt-2">详细信息页面正在开发中...</p>
    </div>
  );
};

export default OrderDetail;